package com.yuqiangz.spring5;

/**
 * @author 赵雨强
 * @create 2021/7/18 19:14
 * @description
 */
public class User {


    private String userName;
    private String  address;
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }

    public void add(){
        System.out.println("addd...........");
        System.out.println("spring第一行代码");
    }
}
